﻿// JavaScript Document
$(document).ready(function(){
	for (var i = 1; i <= 6; i++)
	{
		$("#p1_ul_"+i).show();
		$("#p1_li_"+i).css({"background":"url(images/p1_left03libg2.gif) no-repeat 3px 15px"});
		$("#p1_li_"+i).addClass("p1_left03_li01");
	}
});

$(function(){
 $(".menu").toggle(
  function(){
	var myId;
	myId = this.id;	  
	$("#p1_li_" + myId).css({"background":"url(images/p1_left03libg1.gif) no-repeat 3px 15px"});
	$("#p1_li_" + myId).removeClass("p1_left03_li01");
	$(this).css({"color":"#666666"});
	$("#p1_ul_" + myId).animate({height:'toggle', opacity:'toggle'}, "slow");
  },
  function(){

	var myId;
	myId = this.id;
	$(this).css({"color":"#66B328"});
	$("#p1_li_" + myId).css({"background":"url(images/p1_left03libg2.gif) no-repeat 3px 15px"});
	$("#p1_li_" + myId).addClass("p1_left03_li01");	
	$("#p1_ul_" + myId).animate({height:'toggle', opacity:'toggle'}, "slow");
	
  }); 


$(".p1_right03_1ul li:not(.seperator)").click(function(){					   
	$(this).css({"color":"#fff","background":"#A5D610"})         
	   .siblings().css({"color":"#636363","background":"#FFFFFF"});  
});

$(".p1_right03_1ul li:not(.seperator)").hover(
	function(){
		$(this).css({"cursor":"pointer"});
	},
	function(){
});

$("div.p1_right01_1 img").hover(
	function(){
		$(this).css({"border":"solid #55A01E 1px","cursor":"pointer"});
	},
	function(){
		$(this).css({"border":"solid #E7E7E7 1px"});
});


$("div.p1_right02_01 img").hover(
	function(){
		$(this).css({"border":"solid #55A01E 1px","cursor":"pointer"});
	},
	function(){
		$(this).css({"border":"solid #E7E7E7 1px"});
});
})